package com.weixiao.domain;

import java.util.Date;

public class Goods {
    private Integer id;
    private String goodsName;
    private Double price;
    private Integer status;
    private Integer totalStocks;
    private Date createTime;
    private Date updateTime;
    private Integer spike;

    public Goods() {
    }

    public Goods(Integer id, String goodsName, Double price, Integer status, Integer totalStocks, Date createTime, Date updateTime, Integer spike) {
        this.id = id;
        this.goodsName = goodsName;
        this.price = price;
        this.status = status;
        this.totalStocks = totalStocks;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.spike = spike;
    }

    public Integer getGoodsId() {
        return id;
    }

    public void setGoodsId(Integer goodsId) {
        this.id = id;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getTotalStocks() {
        return totalStocks;
    }

    public void setTotalStocks(Integer totalStocks) {
        this.totalStocks = totalStocks;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getSpike() {
        return spike;
    }

    public void setSpike(Integer spike) {
        this.spike = spike;
    }
}
